
<div class="base-layout">
    <div class="mainbox">
        <div class="base-tab-menu">
            <ul class="base-tabs-nav">
                <?php if(!empty($member_menu)){?>
                <?php foreach (($member_menu) as $val){?>
                <li <?php if($val['menu_key'] == $menu_key){?>class="selected"<?php }?>><a href="<?php echo $val['menu_url'];?>"><?php echo $val['menu_name'];?></a></li>
                <?php }?>
                <?php }?>
            </ul>
        </div>
        <table class="base-table-style">
            <thead>
            <tr>
                <th class="w30"></th>
                <th class="tl"><?php echo 举报详情;?></th>
                <th class="w120"><?php echo 来自;?></th>
                <th class="w210"><?php echo 处理状态;?></th>
                <th class="w120"><?php echo 操作;?></th>
            </tr>
            </thead>
            <tbody>
            <?php if(!empty($inform_list)){?>
            <?php foreach (($inform_list) as $val){?>
            <tr>
                <td><input type="checkbox" class="checkitem" name="i_id[]" value="<?php echo $val['inform_id'];?>" /></td>
                <td class="tl">
                    <p><b><?php echo 举报链接.：;?></b><a href="<?php echo $val['url'];?>" target="_blank"><?php echo $val['title'];?></a></p>
                    <p><b><?php echo 举报内容.：;?></b><?php echo $val['inform_content'];?></p>
                </td>
                <td><a href="<?php echo CIRCLE_SITE_URL;?>/index.php?act=group&c_id=<?php echo $val['circle_id'];?>"><?php echo $val['circle_name'];?></a></td>
                <td>
                    <p><?php echo 处理状态.：.$val['state'];?></p>
                    <?php if($val['inform_state'] != 0){?>
                    <p><?php echo 处理经办.：.$val['inform_opname'];?></p>
                    <p><?php echo 奖惩.：; if($val['inform_opexp'] == '0'){ echo 无奖惩;}else{ echo $val['inform_opexp'].经验;}?></p>
                    <p><?php echo 备注留言.：.$val['inform_opresult'];?></p>
                    <?php }?>
                </td>

                <td class="handle">
                    <a href="javascript:void(0);" onclick="delinform(<?php echo $val['inform_id'];?>);"><?php echo 删除;?></a>
                </td>
            </tr>
            <?php }?>
            <?php }else{?>
            <tr>
                <td colspan="20" class="noborder"><p class="no-record"><?php echo 没有符合条件的记录;?></p></td>
            </tr>
            <?php }?>
            </tbody>
            <?php if(!empty($inform_list)){?>
            <tfoot>
            <tr>
                <th class="tc"><input id="all" class="checkall" type="checkbox" /></th>
                <th colspan="20"><label for="all" class="handle-btn"><i class="ac0"></i><?php echo 全选;?></label>
                    <a href="javascript:void(0);" class="handle-btn" nctype="batchbutton" uri="<?php echo CIRCLE_SITE_URL;?>/index.php?act=p_center&op=delinform" name="i_id" confirm="<?php echo 确认删除？;?>" title="<?php echo 删除;?>"><i class="ac5"></i><?php echo 删除;?></a>
                </th>
            </tr>
            <tr><td colspan="20"><div class="pagination"><?php echo $show_page;?></div></td></tr>
            </tfoot>
            <?php }?>
        </table>
    </div>
    {include file="circle/circle/p_center_sidebar" /}

</div>
<script src="__CIRCLE_RESOURCE__/js/circle_manage.js"></script>
<script type="text/javascript">
    function delinform(i_id){
        showDialog('<?php echo $lang['nc_ensure_del'];?>', 'confirm', '', function(){
            _uri = CIRCLE_SITE_URL+'/index.php?act=p_center&op=delinform&i_id='+i_id;
            ajaxget(_uri);
        });
    }
</script>